//
//  AppDelegate.h
//   
//
//  Created by Macx on 15/9/4.
//  Copyright (c) 2015年 CYX. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UserInfoModel.h"
#import "VersionModel.h"
#import "WalletMainModel.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
// 当前用户
@property (nonatomic, strong) UserInfoModel *curUser;
@property (nonatomic,strong) VersionModel* versionM;
/// 因为接口实在太慢，缓存在这里，每次更新即可
@property (nonatomic, strong) WalletMainModel *walletM;
/// 最优代理
@property (nonatomic, copy) NSString *bestProxy;

+ (AppDelegate *)getAPPDelegate;

- (void)initTabbarVC;

- (UIViewController *)getCurrentVC;

// 选择最好的代理
- (void)pickTheBestInterface;

@end

